
package com.hubt.model;
import java.io.Serializable;

public class PtRUserDutyOrg implements Serializable {
    private String userDutyid;

    private String userUuid;

    private String dutyid;

    private static final long serialVersionUID = 1L;

    public String getUserDutyid() {
        return userDutyid;
    }

    public void setUserDutyid(String userDutyid) {
        this.userDutyid = userDutyid == null ? null : userDutyid.trim();
    }

    public String getUserUuid() {
        return userUuid;
    }

    public void setUserUuid(String userUuid) {
        this.userUuid = userUuid == null ? null : userUuid.trim();
    }

    public String getDutyid() {
        return dutyid;
    }

    public void setDutyid(String dutyid) {
        this.dutyid = dutyid == null ? null : dutyid.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PtRUserDutyOrg other = (PtRUserDutyOrg) that;
        return (this.getUserDutyid() == null ? other.getUserDutyid() == null : this.getUserDutyid().equals(other.getUserDutyid()))
            && (this.getUserUuid() == null ? other.getUserUuid() == null : this.getUserUuid().equals(other.getUserUuid()))
            && (this.getDutyid() == null ? other.getDutyid() == null : this.getDutyid().equals(other.getDutyid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUserDutyid() == null) ? 0 : getUserDutyid().hashCode());
        result = prime * result + ((getUserUuid() == null) ? 0 : getUserUuid().hashCode());
        result = prime * result + ((getDutyid() == null) ? 0 : getDutyid().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userDutyid=").append(userDutyid);
        sb.append(", userUuid=").append(userUuid);
        sb.append(", dutyid=").append(dutyid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}